using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Sublimation
{
    public class ScriptedEvent : Microsoft.Xna.Framework.GameComponent
    {
        protected WorldProperties worldProperties;
        protected int state = 0;

        public const int DEFAULT_WARNING_TEXT_MILLIS = 1400;
        public const int DEFAULT_LONG_TEXT_MILLIS = 3100;

        public ScriptedEvent(WorldProperties worldProperties)
            : base(worldProperties.Game)
        {
            this.worldProperties = worldProperties;

            Enabled = true;
            UpdateOrder = 100;

            worldProperties.Game.Components.Add(this);
        }
    }
}